﻿<?php 
$this->load->view('common/header');
$this->load->view('common/head');
?>
<style>
.reset_err{ color:red; }
.reset_msg{ color:green; } 
</style>
<img src="<?php echo ASSET_URL.'img/contact/03.jpg'?>" alt="">  
<div class="space40"></div>

  <div class="container">
    <div class="row"> 
      <div class="col-md-12">
        <h1>Reset Password</h1>
      </div>
    </div>    
  </div>    
  
  <div class="space20"></div>  
  
  <div class="container">
    <div class="row"> 
       
      <div class="center-block2">  
        
        <!--<h4>Contact Form</h4>   --> 
        <!-- Form -->
        <form role="form" id="" action="#" method="post" class="contact-form">
            <div class="row">
            <div class="form-group col-sm-12">
              <label for="password">Password</label>
              <input class="form-control" id="npassword" placeholder="New Password" name="npassword" type="password" value="">
              <div class="error" id="err-name"></div>
              <span class="reset_err"><?php echo form_error('npassword'); ?></span>
            </div>
          </div>    
			<div class="row">
            <div class="form-group col-sm-12">
              <label for="password2">Confirm Password</label>
              <input class="form-control" id="cpassword" placeholder="New Password" name="cpassword" type="password" value="">
              <div class="error" id="err-name"></div>
              <span class="reset_err"><?php echo form_error('cpassword'); ?></span>
            </div>
          </div>    		  
          
          <div class="row">            
            <div class="col-md-12 text-center">
              <span class="reset_err"><?php echo $this->session->set_userdata('reset_error'); $this->session->unset_userdata('reset_error');?></span>
              <div class="error" id="err-form">There was a problem validating the form please check!</div>
              <div class="error" id="err-timedout">The connection to the server timed out!</div>
              <div class="error" id="err-state"></div>                 
               <input type="submit" class="btn btn-primary submit_btn" id="" style="float:right;" value="Submit">
               <div class="clearfix"></div>
            </div>
          </div>
        </form>   
        <!-- Form End -->
          
      </div>    

    </div> 
  </div> 
  
  <div class="space30"></div>  